package com.hava.film.timeline.xmeml.v5.entity;

import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlElementWrapper;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlProperty;
import com.fasterxml.jackson.dataformat.xml.annotation.JacksonXmlRootElement;

import java.util.List;
import java.util.ArrayList;

@JacksonXmlRootElement(localName = "transitionitem")
public class Transitionitem {

    //一个或者多个元素
    @JacksonXmlProperty(localName = "name")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> name = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "rate")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Rate> rate = new ArrayList<Rate>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "start")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> start = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "end")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> end = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "alignment")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<String> alignment = new ArrayList<String>();

    //一个或者多个元素
    @JacksonXmlProperty(localName = "effect")
    @JacksonXmlElementWrapper(useWrapping = false)
    public List<Effect> effect = new ArrayList<Effect>();

}
